package com.chucang.shucang.pms.service;

import com.chucang.shucang.common.base.service.CrudService;
import com.chucang.shucang.pms.dto.CollectionMallDTO;
import com.chucang.shucang.pms.entity.CollectionMallEntity;
import com.chucang.shucang.pms.feign.vo.UserCollectionHoldEntity;
import com.chucang.shucang.pms.vo.CollectionMallPageResVO;
import com.chucang.shucang.pms.vo.CollectionOnSaleDetailResVO;
import com.chucang.shucang.pms.vo.CollectionOnSalePageResVO;
import com.chucang.shucang.pms.vo.query.CollectionOnSaleQuery;

import java.math.BigDecimal;
import java.util.List;

/**
 * 藏品商城表
 *
 * @author flitsneak flitsneak@gmail.com
 * @since 1.0.0 2022-09-12
 */
public interface CollectionMallService extends CrudService<CollectionMallEntity, CollectionMallDTO> {

    CollectionMallEntity getTheBottomPrice(Long id);

    CollectionOnSalePageResVO onSaleCollectionPage(CollectionOnSaleQuery collectionOnSaleQuery);

    CollectionOnSaleDetailResVO getOnSaleCollectionDetail(Long id);

    boolean collectionsOnConsign(List<UserCollectionHoldEntity> userCollectionHoldList);
}